package org.jeecg.modules.demo.st.service.impl;

import org.jeecg.modules.demo.st.entity.StHonor;
import org.jeecg.modules.demo.st.mapper.StHonorMapper;
import org.jeecg.modules.demo.st.service.IStHonorService;
import org.jeecg.modules.demo.st.vo.StatisticsVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 学生荣誉表
 * @Author: jeecg-boot
 * @Date:   2020-01-14
 * @Version: V1.0
 */
@Service
public class StHonorServiceImpl extends ServiceImpl<StHonorMapper, StHonor> implements IStHonorService {

    @Autowired
    private StHonorMapper stHonorMapper;

    @Override
    public List<StHonor> getStudentHonor(String stuId) {
        List<StHonor> StudentHonor= stHonorMapper.getStudentHonor(stuId);
        return StudentHonor;
    }

    @Override
    public List<StHonor> getStudentHonorBy(String stuId,String review) {
        List<StHonor> StudentHonor= stHonorMapper.getStudentHonorBy(stuId,review);
        return StudentHonor;
    }

    @Override
    public List<StHonor> getStudentReviewHonors(String stuId) {
        List<StHonor> StudentHonor= stHonorMapper.getStudentReviewHonors(stuId);
        return StudentHonor;
    }

}
